package com.sptpc.qimoxiangmu.repository;

import com.sptpc.qimoxiangmu.model.Order;
import com.sptpc.qimoxiangmu.model.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface OrderRepository  extends JpaRepository<Order, Long> {
    Optional<Order> findByCustomer(String customer);
}
